package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.ZcGeneralLedger;

/**
 * 总账Mapper接口
 * 
 * @author lx
 * @date 2023-06-24
 */
public interface ZcGeneralLedgerMapper 
{
    /**
     * 查询总账
     * 
     * @param id 总账主键
     * @return 总账
     */
    public ZcGeneralLedger selectZcGeneralLedgerById(Long id);

    /**
     * 查询总账列表
     * 
     * @param zcGeneralLedger 总账
     * @return 总账集合
     */
    public List<ZcGeneralLedger> selectZcGeneralLedgerList(ZcGeneralLedger zcGeneralLedger);

    /**
     * 新增总账
     * 
     * @param zcGeneralLedger 总账
     * @return 结果
     */
    public int insertZcGeneralLedger(ZcGeneralLedger zcGeneralLedger);

    /**
     * 修改总账
     * 
     * @param zcGeneralLedger 总账
     * @return 结果
     */
    public int updateZcGeneralLedger(ZcGeneralLedger zcGeneralLedger);

    /**
     * 删除总账
     * 
     * @param id 总账主键
     * @return 结果
     */
    public int deleteZcGeneralLedgerById(Long id);

    /**
     * 批量删除总账
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZcGeneralLedgerByIds(Long[] ids);
}
